package com.hjqjl.whdemo.feature.feature0.ui.activity.list;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.hjqjl.whdemo.base.BaseActivity;
import com.hjqjl.whdemo.databinding.ActivityListselectBinding;
import com.hjqjl.whdemo.feature.feature0.ui.activity.list.recyclerview.FruitListActivity;
import com.hjqjl.whdemo.feature.feature0.ui.activity.list.recyclerview.MultipleItemListActivity;


public class ListSelectActivity extends BaseActivity {

    public static void start(Context context) {
        Intent starter = new Intent(context, ListSelectActivity.class);
        context.startActivity(starter);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityListselectBinding binding = ActivityListselectBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        setTitle("List列表");
        binding.homeBtnListSelectExlv.setOnClickListener(v -> MyExpandableListViewActivity.actionStart(pActivity));
        binding.homeBtnListSelectRv.setOnClickListener(v -> FruitListActivity.start(pActivity));
        binding.homeBtnListSelectMulRv.setOnClickListener(v -> MultipleItemListActivity.start(pActivity));
    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {
    }
}
